package edu.zjut.hjg.saas.biz.model;

import java.util.Date;

import edu.zjut.hjg.saas.biz.support.OperateType;

/**
 * 幼儿园网站用户操作日志数据模型
 * 
 * @author hjg
 */
public class UserLog {
    private Integer      id;
    private Kindergarten kindergarten = new Kindergarten();
    private String       loginId;
    private OperateType  operateType;
    private String       description;
    private Date         occurTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Kindergarten getKindergarten() {
        return kindergarten;
    }

    public void setKindergarten(Kindergarten kindergarten) {
        this.kindergarten = kindergarten;
    }

    public String getLoginId() {
        return loginId;
    }

    public void setLoginId(String loginId) {
        this.loginId = loginId;
    }

    public OperateType getOperateType() {
        return operateType;
    }

    public void setOperateType(OperateType operateType) {
        this.operateType = operateType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getOccurTime() {
        return occurTime;
    }

    public void setOccurTime(Date occurTime) {
        this.occurTime = occurTime;
    }

    @Override
    public String toString() {
        return "UserLog [description=" + description + ", id=" + id + ", kindergarten="
                + kindergarten + ", loginId=" + loginId + ", occurTime=" + occurTime
                + ", operateType=" + operateType + "]";
    }
}
